const Sequelize=require('sequelize');
const sequlize=new Sequelize('nodejs','root','3317315',{
  host:'localhost',
  dialect:'mysql',
  operatorsAliases: false,
  dialectOptions: {
      charset: "utf8mb4",
      collate: "utf8mb4_unicode_ci",
      supportBigNumbers: true,
      bigNumberStrings: true
  },
  pool:{
    max:5,
    min:0,
    acquire:3000,
    idle:1000
  },
  timezone: '+08:00' //东八时区
});

module.exports={
  sequlize
}
